"use strict";
var Koa = require('koa');
var chalk = require('chalk');
var app = new Koa();
app.use(function (ctx) {
    console.log(ctx.path);
    ctx.body = '111';
});
var config = {
    port: 3000
};
app.listen(config, function () {
    console.log(chalk.green("server is running at " + config.port));
});
